package www.wmx.com.xssc;


import org.mybatis.spring.annotation.MapperScan;
import org.mybatis.spring.annotation.MapperScans;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;

@SpringBootApplication
@EnableWebMvc
@MapperScans({@MapperScan("www.wmx.com.xssc.mapper")})
@EnableTransactionManagement
public class FileServerApplication {

    public static void main(String[] args) {
        try {
            System.setProperty("spring.devtools.restart.enabled", "false");
            SpringApplication.run(FileServerApplication.class, args);

        } catch (Exception e) {
            throw new RuntimeException(e);
        }

    }

}
